/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.config.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 缴费渠道信息配置表 config_payment_channel_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @LocalDateTime 2022年03月01日
 */
@Table(name = "upcase.config_payment_channel_info")
@Data
public class ConfigPaymentChannelInfo implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 执收单位编码
     */
    @Column(name = "enter_code")
    private String enterCode;

    /**
     * 执收单位名称
     */
    @Column(name = "enter_name")
    private String enterName;

    /**
     * 来源渠道编号
     */
    @Column(name = "channel_no")
    private String channelNo;

    /**
     * 来源渠道名称
     */
    @Column(name = "channel_name")
    private String channelName;

    /**
     * 操作标记(I-插入，U-更新，D-删除)
     */
    @Column(name = "op_type")
    private String opType;

    /**
     * 所属区域编码
     */
    @Column(name = "regi_code")
    private String regiCode;

    /**
     * 所属区域名称
     */
    @Column(name = "regi_name")
    private String regiName;

    /**
     * 机构编码
     */
    @Column(name = "org_code")
    private String orgCode;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 默认执收项目编码
     */
    @Column(name = "default_chit_code")
    private String defaultChitCode;

    /**
     * 默认执收项目名称
     */
    @Column(name = "default_chit_name")
    private String defaultChitName;

    /**
     * 最近更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 机构编码
     */
    @Column(name = "dept_code")
    private String deptCode;

    /**
     * 创建者ID
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 修改者ID
     */
    @Column(name = "update_user_id")
    private String updateUserId;

    private static final long serialVersionUID = 1L;
}